<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>exam</title>
</head>
<body>
    <div>
        <h1 th:text="${title}">测试模板</h1>
    </div>
    <div>
       <p>尊敬的 <span th:text="${recipientName}">老师</span>，您好！</p>
        <p th:text="${message}">这是一条来自xy考试测试邮件</p>
    </div>
</body>
</html> 